STEP 15: We're almost done! Let's use the color the user inputs to change the face.

The input variable choice lets us store the text the user types.

  • In , drag in Set Color.
  • Change the name in front of .set_color() from sprite to face.
  • Change what's inside the parentheses from "red" to choice.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)